package logicGame.States;

import java.io.Serializable;
import logicGame.Cards.Card;
import logicGame.Game;

public class Or extends StateAdapter implements Serializable {

    public Or(Game g) {
        super(g);
    }

    @Override
    public State pick(int num) {
        Card c = getGame().getActivePlayer().getLastCard();
        c.setOp(num);
        return new PickPlace(getGame());
    }
}
